<?php
/**
 * Created by PhpStorm.
 * User: Yu bo
 * Date: 2018-05-10
 * Time: 20:51
 */
namespace plugins\Notice\admin;

use app\home\admin\Plugin;
class Notice extends Plugin
{
  public function index($box_type)
  {
      $meta_title = $box_type=='add_notice' ? '添加公告':'删除公告';

      $this->assign('meta_title',$meta_title);
      $this->assign('box_type',$box_type);

      //
      if ($box_type=='add_notice') {//添加公告
      }elseif ($box_type=='delete_notice') { //删除公告
      }

  }
}